﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kaixin.Components.InterFace;
using Kaixin.Components.Master.PanelFactory;

namespace Kaixin.Components.Master
{
    /// <summary>
    /// 大师具体界面类
    /// 创建：2009-12-10
    /// 版本：1.0
    /// 作者：吴鸣震
    /// </summary>
    class UIFactory: IUIFactory
    {
        private IUIPanelFactory _masterInfo = new MasterInfoPanelFactory();

        #region IUIFactory 成员

        public IUIPanelFactory CreatePanelFactory(string menu)
        {
            switch (menu)
            {
                case "大师信息":
                default:
                    return _masterInfo;
            }
        }

        #endregion
    }
}
